package org.example.service;

import org.example.entity.Account;
import org.example.entity.Authority;

import java.util.List;

public interface AccountService {
    public Account login(Account account);

    List<Authority> getAccountAuthority(String username);

    public Account loginByUserName(String username);

    public int register(Account account);

    public List<Account> queryAllUser();
}